package javaBase.javaFeatures.javaPolymorphism;

public class Wine {
private String name;
public String getName(){
	return name;
}
public void setName(String name){
	this.name = name;
}
public Wine(){
	
}
public String drink(){
	return "喝的是"+getName();
}
/**
 *重写toString方法 
 **/
public  String toString(){
	return null;
}
}
